package com.cjx.mybatisdataauth.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author cjunxian
 * @description 模拟资源表
 * @date 2022/3/13
 */
@TableName(value = "resource")
public class ResourceEntity {

    /**
     * id
     */
    @TableId(value = "id")
    String id;

    /**
     * 用户id
     */
    @TableField(value = "userid")
    String userid;

    /**
     * 部门id
     */
    @TableField(value = "deptid")
    String deptid;
}
